package com.sprboot.demo.service.local;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sprboot.demo.domain.repository.first.UserRepository;
import com.sprboot.demo.domain.vo.first.User;

@Service
public class UserService {
	@Autowired
	private UserRepository userRepository;
	
	public User getUserById(Long id) {
		return userRepository.findOne(id);
	}
}
